package com.xinchuang.service.targetSystem.damage;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.xinchuang.comment.R;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinchuang.common.Result;
import com.xinchuang.entity.targetSystem.damage.TWarhead;
import com.xinchuang.entity.targetSystem.damage.TWarheadExample;

public interface TWarheadService extends IService<TWarhead> {


    long countByExample(TWarheadExample example);

    int deleteByExample(TWarheadExample example);

    List<TWarhead> selectByExample(TWarheadExample example);

    int updateByExampleSelective(TWarhead record, TWarheadExample example);

    int updateByExample(TWarhead record, TWarheadExample example);

    int updateBatch(List<TWarhead> list);

    int updateBatchSelective(List<TWarhead> list);

    int batchInsert(List<TWarhead> list);

    Result insertOrUpdate(TWarhead record);

    int insertOrUpdateSelective(TWarhead record);

    Map<String, Object> queryList(Integer pageNum, Integer pageSize, String warheadName, String warheadType, String missileId);

    R deleteByIds(List<String> ids,boolean deleteStatus);
}
